//
//  DGKeychain.h
//  DGKeychain
//
//  Created by Jinxiao on 12/2/13.
//  Copyright (c) 2013 debugeek. All rights reserved.
//

@interface DGKeychain : NSObject

+ (NSString *)queryPasswordForUsername:(NSString *)username serviceName:(NSString *)serviceName error:(NSError **)error;

+ (BOOL)storeUsername:(NSString *)username password:(NSString *)password serviceName:(NSString *)serviceName updateExisting:(BOOL)updateExisting error:(NSError **)error;

+ (BOOL)deleteItemForUsername:(NSString *)username serviceName:(NSString *)serviceName error:(NSError **)error;

@end